import type { Settings } from "#/global";

const globalSettings: Settings.all = {
    app: {
        colorScheme: "light",
        elementSize: "default",
        iconifyOfflineUse: false,
        enablePermission: true,
        enableProgress: true,
        enableDynamicTitle: true,
        routeBaseOn: "frontend",
        enableAppSetting: true,
    },
    home: {
        enable: true,
        title: "主页",
    },
    layout: {
        enableMobileAdaptation: false,
    },
    menu: {
        baseOn: "frontend",
        menuMode: "head",
        switchMainMenuAndPageJump: false,
        subMenuUniqueOpened: true,
        subMenuCollapse: false,
        enableSubMenuCollapseButton: false,
        enableHotkeys: false,
    },
    topbar: {
        mode: "fixed",
    },
    toolbar: {
        enableFullscreen: false,
        enablePageReload: false,
        enableColorScheme: false,
    },
    breadcrumb: {
        enable: true,
    },
    navSearch: {
        enable: false,
        enableHotkeys: true,
    },
};

export default globalSettings;
